package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 地址对象 tb_user_addresses
 * 
 * @author hyx
 * @date 2025-04-19
 */
public class CwUserAddresses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址id */
    private Long addressId;

    /** 地点昵称 */
    @Excel(name = "地点昵称")
    private String addressNickname;



    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 大致位置 */
    @Excel(name = "大致位置")
    private String locationAddress;

    /** 具体地址 */
    @Excel(name = "具体地址")
    private String address;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setLocationAddress(String locationAddress) 
    {
        this.locationAddress = locationAddress;
    }

    public String getLocationAddress() 
    {
        return locationAddress;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }

    public String getAddressNickname() {
        return addressNickname;
    }

    public void setAddressNickname(String addressNickname) {
        this.addressNickname = addressNickname;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("userId", getUserId())
            .append("locationAddress", getLocationAddress())
            .append("address", getAddress())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .toString();
    }
}
